package com.alinacos.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

/**
 * @Author：Administrator
 * @Date：2022/7/25/0025 22:37
 * @Versiion：1.0
 */
@RestController
@Slf4j
public class PaymentController {
    @Value("${server.port}")
    private String serverPort;

    @GetMapping("/getPayment")
    public String getPayment(){
        return "nacos registry " + serverPort + "  :  " +UUID.randomUUID();
    }
}
